import org.apache.commons.math3.distribution.HypergeometricDistribution;

public class Test {

    public static void main(String[] args) {
        System.out.println(
                1 - new HypergeometricDistribution(150, 34, 52)
                        .cumulativeProbability(25)
        );
    }
}
